/**
 * Copyright (c) <2010>, <SUNNY GUPTA>
 * All rights reserved.

 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *   * Redistributions of source code must retain the above copyright
 *     notice, this list of conditions and the following disclaimer.
 *   * Redistributions in binary form must reproduce the above copyright
 *     notice, this list of conditions and the following disclaimer in the
 *     documentation and/or other materials provided with the distribution.
 *   * Neither the name of the <ORGANIZATION> nor the
 *     names of its contributors may be used to endorse or promote products
 *     derived from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL <SUNNY GUPTA> BE LIABLE FOR ANY
 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

package com.gwtp.investmentadvisor.server.externaldataservices.yahoo;

/**
 * @author Sunny Gupta
 *
 */
public enum QueryParameter {
  Ask("a"),
  AverageDailyVolume("a2"),
  AskSize("a5"),
  Bid("b"),
  AskRealtime("b2"),
  BidRealtime("b3"),
  BookValue("b4"),
  BidSize("b6"),
  Change_PercentChange("c"),
  Change("c1"),
  Commission("c3"),
  ChangeRealtime("c6"),
  AfterHoursChangeRealtime("c8"),
  DividendShare("d"),
  LastTradeDate("d1"),
  TradeDate("d2"),
  EarningsShare("e"),
  EPSEstimateCurrentYear("e7"),
  EPSEstimateNextYear("e8"),
  EPSEstimateNextQuarter("e9"),
  FloatShares("f6"),
  DaysLow("g"),
  DaysHigh("h"),
  YearLow("j"),
  YearHigh("k"),
  HoldingsGainPercent("g1"),
  AnnualizedGain("g3"),
  HoldingsGain("g4"),
  HoldingsGainPercentRealtime("g5"),
  HoldingsGainRealtime("g6"),
  MoreInfo("i"),
  OrderBookRealtime("i5"),
  MarketCapitalization("j1"),
  MarketCapRealtime("j3"),
  EBITDA("j4"),
  ChangeFromYearLow("j5"),
  PercentChangeFromYearLow("j6"),
  LastTradeRealtimeWithTime("k1"),
  ChangePercentRealtime("k2"),
  LastTradeSize("k3"),
  ChangeFromYearHigh("k4"),
  PercentChangeFromYearHigh("k5"),
  LastTradeWithTime("l"),
  LastTradePriceOnly("l1"),
  HighLimit("l2"),
  LowLimit("l3"),
  DaysRange("m"),
  DaysRangeRealtime("m2"),
  FiftydayMovingAverage("m3"),
  TwoHundreddayMovingAverage("m4"),
  ChangeFromTwoHundreddayMovingAverage("m5"),
  PercentChangeFromTwoHundreddayMovingAverage("m6"),
  ChangeFromFiftydayMovingAverage("m7"),
  PercentChangeFromFiftydayMovingAverage("m8"),
  Name("n"),
  Notes("n4"),
  Open("o"),
  PreviousClose("p"),
  PricePaid("p1"),
  ChangeinPercent("p2"),
  PriceSales("p5"),
  PriceBook("p6"),
  ExDividendDate("q"),
  PERatio("r"),
  DividendPayDate("r1"),
  PERatioRealtime("r2"),
  PEGRatio("r5"),
  PriceEPSEstimateCurrentYear("r6"),
  PriceEPSEstimateNextYear("r7"),
  Symbol("s"),
  SharesOwned("s1"),
  ShortRatio("s7"),
  LastTradeTime("t1"),
  TradeLinks("t6"),
  TickerTrend("t7"),
  OneyrTargetPrice("t8"),
  Volume("v"),
  HoldingsValue("v1"),
  HoldingsValueRealtime("v7"),
  YearRange("w"),
  DaysValueChange("w1"),
  DaysValueChangeRealtime("w4"),
  StockExchange("x"),
  DividendYield("y");
  
  private String queryString;

  QueryParameter(String queryString) {
    this.queryString = queryString;
  }

  /**
   * @return the queryString
   */
  public String getQueryString() {
    return queryString;
  }
    
}
